﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Project_getEmployeeDetail.aspx.cs" Inherits="EcSalseManage.EcSalse.Project_getEmployeeDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <style>
        .querybox {
	BORDER-RIGHT: #777777 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #777777 1px solid; PADDING-LEFT: 10px; FONT-SIZE: 12px; PADDING-BOTTOM: 5px; BORDER-LEFT: #777777 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #777777 1px solid; BACKGROUND-COLOR: #FFFFFF
}
    </style>
</head>
<body style=" background-color:#F7F8F9;">
    <form id="form1" runat="server" defaultbutton="lbtnSearch">
			<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" style="PADDING-LEFT: 12px; WIDTH: 100%; LINE-HEIGHT: 20px; PADDING-TOP: 5px; background-color:#EEF2FB; ">
				<TR>
					<TD NOWRAP ALIGN="left" style="height: 25px" ><asp:Label ID="lblTitle" runat="server" style="FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #403020; FONT-STYLE: normal; FONT-VARIANT: normal">员工资料查询</asp:Label></TD>
				</TR>
			</TABLE>
			<CENTER>
				<TABLE width="98%">
					<TR>
						<TD class="td" align="left" style="width: 729px">
							<DIV class="querybox"><asp:Label ID="Label62" runat="server" Font-Bold="True">请输入工号或姓名：</asp:Label><asp:TextBox CssClass="edline" ID="txtEmployeeCode" MaxLength="50" runat="server" TabIndex="1" Width="150px" style="TEXT-ALIGN: center"></asp:TextBox>
                                <table border="0" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td align="center" class="td" nowrap="nowrap" style="height: 40px">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                      </td>
                                                    <td background="..../images/button_bg.gif" nowrap="nowrap" valign="middle">
                                                        &nbsp;
                                                        <asp:LinkButton ID="lbtnSearch" runat="server" CssClass="linkbutton" OnClick="lbtnSearch_Click" Font-Bold="True">查询</asp:LinkButton>&nbsp;</td>
                                                    <td>
                                                       </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td id="td2" runat="server" align="center" class="td" nowrap="nowrap" style="width: 50px;
                                            height: 40px">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                        </td>
                                                    <td background="..../images/button_bg.gif" nowrap="nowrap" valign="middle">
                                                        &nbsp;
                                                        <asp:LinkButton ID="lbtnReset" runat="server" Font-Bold="True">重置</asp:LinkButton>&nbsp;</td>
                                                    <td>
                                                        </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>

							</DIV>
						</TD>
					</TR>
				</TABLE>
							<asp:Panel ID="Panel1" runat="server" Width="100%">
							<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
							<td style="width: 726px">
							<TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
								<TR>
									<TD class="ttTable" noWrap align="left" style="width: 90%"><asp:Label id="lblHead" runat="server">员工资料列表</asp:Label></TD>
									<TD class="td" noWrap align="left" style="width: 73px">                                        &nbsp;</TD>
								</TR>
							</TABLE>
                            <asp:DataGrid ID="dgList" runat="server" Width="100%" BackColor="#C0FFC0" BorderStyle="Dotted" BorderWidth="0px" CellPadding="1" CellSpacing="1" AutoGenerateColumns="False" PageSize="20" OnItemDataBound="dgList_ItemDataBound" TabIndex="2">
                                <ItemStyle BackColor="#F8F4E4" CssClass="td" />
                                <AlternatingItemStyle BackColor="#F0F0E8" CssClass="td" />
                                <HeaderStyle BackColor="#D8C8A8" CssClass="ttTable"  HorizontalAlign="Center" />
                                <PagerStyle Mode="NumericPages" Position="TopAndBottom" />
                                <Columns>
                                    <asp:TemplateColumn HeaderText="选择">
                                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Center" Wrap="False" />
                                        <ItemTemplate>
                                            <asp:ImageButton ID="imgbtnSelect" runat="server" AlternateText="编辑" BorderStyle="Dotted"
                                                BorderWidth="0px" CommandName="edit" ImageAlign="Middle" ImageUrl="../images/icon2_089.png" />
                                        </ItemTemplate>
                                        <HeaderStyle Width="30px" />
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="EmployeeID" HeaderText="工号">
                                    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Center" Wrap="False" Width="50px" />
                                        <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="EmpName" HeaderText="姓名">
                                    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Center" Wrap="False" Width="60px" />
                                        <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="PosName" HeaderText="职位">
                                    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Center" Wrap="False" Width="90px" />
                                        <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                                    </asp:BoundColumn>
                                </Columns>
                            </asp:DataGrid>&nbsp;
							</td>
							</tr>
							</TABLE>	
							</asp:Panel>						
			</CENTER>
    </form>
</body>
</html>
